<template>
  <div class="PagMassage">
    <div class="left">
      <!-- 需求:如果左侧的没有结构传递进来,那么连tips盒子都不展示 -->
      <div v-if="$slots.left" class="tips">
        <slot name="left" />
      </div>
    </div>
    <div class="right">
      <slot name="right" />
    </div>
  </div>

</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.PagMassage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  .tips {
    line-height: 34px;
    padding: 0px 15px;
    color: pink;
    font-size: 12px;
    // border-radius: 5px;
    // border: 1px solid rgba(145, 213, 255, 1);
    // background: rgba(230, 247, 255, 1);
    // font-size: 12px;
  }
}
</style>
